package com.yq.cp.entity.permission.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.yq.cp.entity.common.PageVo;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author zh
 * @since 2022-09-21
 */
@Data
public class UserVo extends PageVo {

    private static final long serialVersionUID = 1L;

    private String username;

    private String password;
    private String newPassword;

    private String phone;

    private String nickname;
    private String headPortrait;

    private String mailbox;

    /** 10-总平台超级管理员,20-管理员,30-用户 */
    private Integer type;
    private List<Integer> types;

    private Long roleId;
    private Integer state;

    private String code;

    //关联组织
    private Long companyId;

    private Long departmentId;

    private String times;

    /**
     * 渠道商等名字
     */
    private String structureName;
    /**
     * 电子签名
     */
    private String electronicSignature;

    private Long siteId;
    @TableField(exist = false)
    private String siteName;
    @TableField(exist = false)
    private String departmentName;
    private Long positionId;
    @TableField(exist = false)
    private String positionName;
}
